@file:Suppress("SpellCheckingInspection")

package com.hopedove.workshop.api

import com.google.gson.annotations.SerializedName

data class RunningSituationType(
    @SerializedName("KEYCODE") val code: String,
    @SerializedName("SJXZ") val name: String,
)

data class MaterialItem(
    @SerializedName("SZXX") val name: String,
    @SerializedName("YLWZ") val index: String?,
    @SerializedName("YLID") val id: String,
    @SerializedName("GROUPNO") val groupNo: String,
)

data class RunningSituationAdd(
    @SerializedName("LISTTYPE") val type: String,
    @SerializedName("MACHINENO") val machineNo: String,
    @SerializedName("REMARK") var remark: String = "",
    @SerializedName("CAUSE") var reason: String = "",
    @SerializedName("CTIME") var duration: String = "",
    @SerializedName("GROUPNO") val groupNo: String = "",
    @SerializedName("YLID") val id: String = "",
    @SerializedName("YLWZ") val index: String = "",
    @SerializedName("PLANTYPE") val planTypeCode: String = "",
)

data class RunningSituationSave(
    @SerializedName("PKID") val id: String,
    @SerializedName("REMARK") val remark: String,
    @SerializedName("CAUSE") val reason: String,
    @SerializedName("CTIME") val duration: String,
    @SerializedName("PLANTYPE") val planTypeCode: String = "",
)

data class RunnningSituation(
    @SerializedName("CAUSE") val reason: String?,
    @SerializedName("LISTTYPE") val type: String,
    @SerializedName("MACHINENO") val machineNo: String,
    @SerializedName("PKID") val id: String,
    @SerializedName("REMARK") val remark: String,
    @SerializedName("CTIME") val duration: String?,
    @SerializedName("DISPOSE") val processInfo: String?,
    @SerializedName("CREATER") val creator: String?,
    @SerializedName("PLANTYPE") val planTypeCode: String?,
)

data class WorkShopItem(
    @SerializedName("BMXXID") val id: String,
    @SerializedName("BMMC") val name: String
)
